<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<f:metadata>
	<f:viewAction action="#{loginBean.init}" onPostback="false" />
</f:metadata>
<h:head>
	<title></title>
</h:head>
<h:body>
	<div class="ui-grid ui-grid-responsive">
		<div class="ui-grid-row">
			<div class="ui-grid-col-12">
				<h:form>
					<p:panel id="basic" header="Basic" footer="Movie Details"
						style="margin-bottom:20px">
						<h:panelGrid columns="2" cellpadding="10">

							<h:outputText value="The story begins as Don Vito Corleone..." />
							<p:inputText id="idUsuario" value="#{loginBean.idUsuario}" />
							<p:inputText id="password" value="#{loginBean.password}" />
							<p:commandButton value="Entrar" id="loginButton"
								action="#{loginBean.login}" />
						</h:panelGrid>
					</p:panel>
				</h:form>

			</div>
		</div>
	</div>
</h:body>
</html>